std::forward_list::empty

From Cppreference

Jump to: navigation, search
bool empty() const;
(C++0x feature)

Checks if the container has no elements, i.e. whether ​begin() == end().

Parameters

(none)

Return value

true if the container is empty, false otherwise

Complexity

constant


Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox
In other languages